import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import store from '@/store'
import 'moment/locale/zh-cn';
import locale from 'antd/lib/locale/zh_CN';
import { ConfigProvider  } from 'antd'
import '@/index.scss'
// index.scss 在App之前导入，App组件样式优先级要高，可能要覆盖样式
import App from '@/App'


ReactDOM.render(
  // 关联react和redux
  <Provider store={store}>
    <ConfigProvider locale={locale}>
      <App />
    </ConfigProvider>
  </Provider>,
  document.getElementById('root')
)